﻿
@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Index</title>
</head>
<body>
    <div style="text-align:center;">
        <form method="post" enctype="multipart/form-data" action="/Excel/Import">
            <div style="margin-top:300px">
                选择表:
                <select name="selectTable" style="width:250px; height:30px">
                    
                    @*<option value="PersonnelBasicInfo.xml">基本信息</option>*@
                    @*<option value="PersonnelSalaryInfo.xml">薪资信息</option>*@
                    @*<option value="PersonnelEduExperienceList.xml">教育经历</option>*@
                    @*<option value="PersonnelWorkExperienceList.xml">工作经历</option>*@
                    @*<option value="PersonnelPoliticalLandscape.xml">政治面貌</option>*@
                    <option value="JHR_PersonnelBasicInfo.xml">永恒力基本信息</option>
                    @*<option value="LeaveBill.xml">请假</option>
                    <option value="OALeaveBill.xml">OA请假</option>*@  
                    @*<option value="OAOverTimeBill.xml">OA加班</option>*@
                    @*<option value="WelfareRadix.xml">福利基数</option>*@
                    @*<option value="WelfareRadixCount.xml">多表</option>*@
                </select>
            </div>
            <p>excel导入</p>
            <input id="file" type="file" name="file" />
        </form>
    </div>
    <script src="~/Scripts/jquery-1.10.2.js"></script>
    <script>
        $("#file").change(function () {
            $(this).closest("form").submit();
        });
    </script>
</body>
</html>
